//
//  SearchShowView.h
//  search搜索标签
//
//  Created by 涂永江 on 2017/8/28.
//  Copyright © 2017年 涂永江. All rights reserved.
//

#import <UIKit/UIKit.h>

@class SearchShowView;

@protocol SearchShowViewDateSource <NSObject>

// 提供组数
- (NSInteger)numberOfSectionsInSearchShowView:(SearchShowView *)searchShowView;

// 提供网格单元的数量
- (NSInteger)numberOfItemsInHorizontalSearchShowView:(SearchShowView *)searchShowView;

// 提供网格单元标题
- (NSString *)horizontalSearchShowView:(SearchShowView *)searchShowView titleForItemAtIndex:(NSInteger)idx;

@end

@protocol SearchShowViewDelegate <NSObject>



@end

@interface SearchShowView : UIView

@property (weak,nonatomic) id <SearchShowViewDelegate> delegate;

@property (weak,nonatomic) id <SearchShowViewDateSource> dateSource;

- (void)reloadData;
@end
